package com.googlecode.wmlynar.gwtbeans.gen;

import java.util.ArrayList;

import com.thoughtworks.qdox.model.BeanProperty;

/**
 * 
 * @author Wojciech Mlynarczyk (wmlynar@gmail.com)
 * 
 */
public class Field {

    private String fieldAName;
    private ArrayList<BeanProperty> propertyListA = new ArrayList<BeanProperty>();
    private String toAConverterName;

    private String fieldBName;
    private ArrayList<BeanProperty> propertyListB = new ArrayList<BeanProperty>();
    private String toBConverterName;

    public Field() {
    }

    public Field(final String fieldAName, final String fieldBName) {
        this.fieldAName = fieldAName;
        this.fieldBName = fieldBName;
    }

    public final String getFieldAName() {
        return fieldAName;
    }

    public final void setFieldAName(final String fieldAName) {
        this.fieldAName = fieldAName;
    }

    public final ArrayList<BeanProperty> getPropertyListA() {
        return propertyListA;
    }

    public final void setPropertyListA(final ArrayList<BeanProperty> propertyListA) {
        this.propertyListA = propertyListA;
    }

    public final String getFieldBName() {
        return fieldBName;
    }

    public final void setFieldBName(final String fieldBName) {
        this.fieldBName = fieldBName;
    }

    public final ArrayList<BeanProperty> getPropertyListB() {
        return propertyListB;
    }

    public final void setPropertyListB(final ArrayList<BeanProperty> propertyListB) {
        this.propertyListB = propertyListB;
    }

    public void setToAConverterName(final String toAConverterName) {
        this.toAConverterName = toAConverterName;
    }

    public String getToAConverterName() {
        return toAConverterName;
    }

    public void setToBConverterName(final String toBConverterName) {
        this.toBConverterName = toBConverterName;
    }

    public String getToBConverterName() {
        return toBConverterName;
    }

}
